<!--
 * @FilePath     : /study_code/layui/21-12.html
 * @Description  :
 * @Date         : 2025-04-15 14:48:00
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-04-15 15:46:43
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>documentName</title>
    <link rel="stylesheet" href="/layui/dist/css/layui.css" />
  </head>
  <body>
    <div id="demo-test"></div>

    <script src="/layui/dist/layui.js"></script>
    <script>
      layui.use(['element'], function () {
        var element = layui.element,
          $ = layui.$

        $('#demo-test').html(`
          <h3>默认面包屑</h3>
          <span class="layui-breadcrumb" lay-filter="my-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a><cite>导航元素</cite></a>
          </span>
        `)

        element.render('breadcrumb', 'my-breadcrumb')
      })
    </script>
  </body>
</html>
